import API from './constants'
import request from '@/utils/request'

// 获取详情页数据
export const getDetails = (id) => request({
  url: API.DETAIL_API,
  params: {
    id
  }
})
